package com.example.demo.register;

import java.util.Random;

public class Authcode {

	public static String getAutocode() {
		Random random = new Random();

		String result = "";

		for (int i = 0; i < 6; i++) {

			result += random.nextInt(10);

		}

	return result;

	}

	

}
